package br.ufrgs.meetapp.enums;

public enum PositionEventCode {
	POWER_ON(1), 
	POWER_CHANGED(10), 
	LOW_BATTERY(11), 
	EMERGENGY_BUTTON(30), 
	MOTION_SENSOR_MOTION(31), 
	MOTION_SENSOR_STATIONARY(32), 
	SMS_RECEIVED(40), 
	SMS_SENT(41), 
	INCOMING_CALL(43), 
	OUTGOING_CALL(44), 
	NETWORK_CHANGED(50), 
	GPRS_CONNECT(51), 
	WIFI_CONNECT(52), 
	TIME_INTERVAL(100), 
	DISTANCE(101), 
	COURSE_CHANGED(102), 
	TRIP_STOPPED(103), 
	CONFIG_CHANGED(240), 
	TEXT_MESSAGE(241), 
	REQUESTED(242), 
	BUDDY_MESSAGE(243), 
	WORKORDER_MESSAGE(244), 
	SENDER(254),
	UNKNOWN(255);

	private int value;

	private PositionEventCode(int _value) {
		value = _value;
	}

	public int getValue() {
		return value;
	}

	public byte getByteValue() {
		return (byte) value;
	}
}
